class smallInt
{
public:
	smallInt(int i = 0) :val(i)
	{
		cout << "constructor"<<endl;
	}
	operator int()const
	{
		cout << "operator";
		return val;
	}
	size_t val;
};

int main()

{
	smallInt si;
	si = 4;
	int cxd = si + 2;